package com.lxd.design.pattern.factory2;

public class ComputerEngineer {

	private CPUApi cpu = null;
	private MainboardApi mainboard = null;
	
	public void makeComputer(AbstractFactory schema){
		preparedHardwares(schema);
	}
	
	public void preparedHardwares(AbstractFactory schema){
		cpu = schema.createCPUApi();
		mainboard = schema.createMainboardApi();
	}
}
